<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .coupon {
            position: relative;
            width: 642px;
            height: 186px;
            background: url("../img/cp-bg.png") no-repeat right bottom;
            background-size: 96% 84%;
        }

        .bg3 {
            position: absolute;
            z-index: 200;
            width: auto;
            height: 45%;
        }

        .bg2 {
            position: absolute;
            z-index: 100;
            width: auto;
            height: 84%;
            top: 16%;
            left: 4%;
        }

        .coupon-name {
            position: absolute;
            color: #ff4f4a;
            z-index: 300;
            transform: rotate(-40deg);
            top: 15%;
            left: 3%;
            font-size: 18px;
        }

        .box1 {
            position: absolute;
            color: white;
            left: 12%;
            top: 30%;
            z-index: 300;
        }

        .span1 {
            font-size: 40px;
        }

        .span2 {
            font-size: 18px;
            margin-top: 10px;
        }

        .box2 {
            position: absolute;
            color: black;
            left: 43%;
            top: 35%;
        }

        .span3 {
            font-size: 28px;
        }

        .span4 {
            font-size: 18px;
            margin-top: 10px;
            color: #a1a1a1;
        }

        .span5 {
            position: absolute;
            color: #ff4f4a;
            right: 7%;
            top: 43%;
            font-size: 18px;
            width: 50px;
        }

        .line {
            position: absolute;
            width: 1px;
            height: 50%;
            right: 20%;
            top: 32%;
            border-left: 1px #e3e3e3 dashed;
        }
    </style>
</head>

<body>
    <div class="coupon">
        <img class="bg3" src="../img/cp-bg3.png" alt="">
        <div class="coupon-name">新人券</div>
        <img class="bg2" src="../img/cp-bg2.png" alt="">
        <div class="box1">
            <div class="span1">￥500</div>
            <div class="span2">满1000可用</div>
        </div>
        <div class="box2">
            <div class="span3">全场通用</div>
            <div class="span4">有效期至 2019-12</div>
        </div>
        <div class="line"></div>
        <div class="span5">立即领取</div>
    </div>
</body>

</html>
